package com.lxf.cloudotherserve.mapper;

import com.lxf.cloudotherserve.bean.PlayHistoryBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 罗兴发
 * @data 2025/6/27 17:53
 * @description：浏览记录-持久层
 */
@Mapper
public interface PlayHistoryMapper {
    int addPlayHistory(@Param("list") List<PlayHistoryBean> list);

    int updatePlayHistoryById(@Param("list") List<Integer> list);

    int deletePlayHistoryByIdAndType(@Param("objId") String objId,
                                     @Param("type") Integer type);
}
